package great.easychat.help.bean;

import java.util.List;

public class XiaobaiListBean<T> {

    /**
     * ret : 200
     * data : {"err_code":3,"err_msg":"数据已存在，不再创建"}
     * msg : V1.4.16 小白开放接口 App.Table.CheckCreate
     */

    private int ret;
    private DataBean<T> data;
    private String msg;

    public int getRet() {
        return ret;
    }

    public void setRet(int ret) {
        this.ret = ret;
    }

    public DataBean<T> getData() {
        return data;
    }

    public void setData(DataBean<T> data) {
        this.data = data;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public static class DataBean<T> {
        /**
         * err_code : 3
         * err_msg : 数据已存在，不再创建
         */

        private int err_code;
        private String err_msg;
        private List<T> list;
        private int total;
        private int page;
        private int perpage;

        public int getTotal() {
            return total;
        }

        public void setTotal(int total) {
            this.total = total;
        }

        public int getPage() {
            return page;
        }

        public void setPage(int page) {
            this.page = page;
        }

        public int getPerpage() {
            return perpage;
        }

        public void setPerpage(int perpage) {
            this.perpage = perpage;
        }

        public int getErr_code() {
            return err_code;
        }

        public void setErr_code(int err_code) {
            this.err_code = err_code;
        }

        public String getErr_msg() {
            return err_msg;
        }

        public void setErr_msg(String err_msg) {
            this.err_msg = err_msg;
        }

        public List<T> getList() {
            return list;
        }

        public void setList(List<T> list) {
            this.list = list;
        }

    }
}
